package com.kevin.springboot.demos.consts;

/**
 * 返回码
 * @author: wangyong
 * @date: 2019/8/17 12:33
 */
public enum RtConsts {

	/**
	 * 系统异常
	 */
	SYS_ERROR("500","系统异常"),

	/**
	 * 成功
	 */
	SUCCESS("200","处理成功"),

	/**
	 * 参数错误
	 */
	PARAMTER_ERROR("201","请求参数错误");

	private String code;

	private String msg;

	public String getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}

	RtConsts(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}



}
